//
//  HGroupListView.m
//  HMusicPlayer
//
//  Created by Hament on 14/10/10.
//  Copyright (c) 2014年 HJ. All rights reserved.
//

#import "HGroupListView.h"
#import "HCoreConfig.h"


@implementation HGroupListView

- (void)drawRect:(NSRect)dirtyRect {
    [super drawRect:dirtyRect];
    
    // Drawing code here.
    
   // playListViewWidth
//    if (self.isFocusPlayListView) {
//             CGContextRef ctx = (CGContextRef) [[NSGraphicsContext currentContext] graphicsPort];
//             CGContextSaveGState(ctx);
//        NSBezierPath *path = [NSBezierPath bezierPathWithRect:NSMakeRect(0, 0, playListViewWidth, dirtyRect.size.height)];
//        [path setLineWidth:2];
//        [[NSColor selectedTextBackgroundColor] set];
//        [path stroke];
//        CGContextRestoreGState(ctx);
//        
//    }
//    
//    if (self.isFocusSongListView) {
//        
//        NSBezierPath *path = [NSBezierPath bezierPathWithRect:NSMakeRect(playListViewWidth, 0, dirtyRect.size.width- playListViewWidth, dirtyRect.size.height)];
//        [path setLineWidth:2];
//        [[NSColor selectedTextBackgroundColor] set];
//        [path stroke];
//        
//    }
//    
    
}



//-(void)focusPlayList:(BOOL)flag{
//
//    self.isFocusPlayListView=flag;
//    [self setNeedsDisplay:YES];
//}
//
//
//
//-(void)focusSongList:(BOOL)flag {
//self.isFocusSongListView=flag;
//[self setNeedsDisplay:YES];
//
//}


@end
